<?php
namespace app\index\model;
class Duihuan extends BaseModel{
    
   
    function getHistoryAll($id,$page=1){
        $pay = D('duihuan');
        return $pay->field("round(money/100,2) as money,type,create_time")->where("enable",0)->where("user_id",$id)->page($page,10)->order("create_time desc")->select();
    }
    
}
